package cn.wtg.kotlindemo.testDatabinding

import android.os.Bundle
import cn.wtg.kotlindemo.BR
import cn.wtg.kotlindemo.R
import cn.wtg.kotlindemo.databinding.ActivityTestDataBindingBinding
import cn.wtg.kotlinlib.baseUi.BaseMvvmActivity

/**
 * author: wtg
 * time: 2022/12/15
 * desc:
 */
class TestDataBindActivity : BaseMvvmActivity<ActivityTestDataBindingBinding, TestDataBindVM>() {
    override fun getLayoutRes(): Int {
        return R.layout.activity_test_data_binding
    }

    override fun initView(savedInstanceState: Bundle?) {

    }

    override fun getInitViewModel(): TestDataBindVM {
        return TestDataBindVM(this)
    }

    override fun getInitViewModelId(): Int {
        return BR.testDataBindVM
    }
}